package com.ruoyi.develop.factory.factoryProduceSaleAll.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.develop.goodsOrderIn.domain.GoodsOrderIn;
import com.ruoyi.develop.goodsSale.domain.GoodsSale;
import com.ruoyi.develop.goodsSaledo.domain.GoodsSaledo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产订单和产品合计关联对象 factory_produce_sale_all
 *
 * @author lmm
 * @date 2025-05-08
 */
public class FactoryProduceSaleAll extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志 */
    private String delFlag;

    /** 生产订单id */
    @Excel(name = "生产订单id")
    private String produceId;

    /** 订单产品id */
    @Excel(name = "订单产品id")
    private String saleId;

    /** 采购订单id */
    @Excel(name = "采购订单id")
    private String caigouId;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal count;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String code;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String xinghao;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String miaoshu;

    private String goodsId;
    private String projectId;
    private String projectNo;
    private String qinggouId;
    private String nos;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date saleDate;
    private String gongchengName;
    private String customName;
    private List<GoodsSaledo> columns;
    private String produceNo;
    private String issheding;
    private String ischaijie;
    private String gongyiId;
    private String gongyiName;
    private String gongyiCode;
    private String gongyiFile;
    private String gongyiPhoto;
    private String gongyiShuoming;
    private String xunjianFile;
    private BigDecimal rukuCount;
    private BigDecimal weiruCount;
    private BigDecimal finishdoCount;
    private BigDecimal kerukuCount;
    private BigDecimal daizhijianCount;
    private String type;
    private List<GoodsOrderIn> columnsOther;
    private List<FactoryProduceSaleAll> columnsGoodsSaleFactory;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shedingDate;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date chaijieDate;

    private String doremark;
    private String douser;

    public Date getShedingDate() {
        return shedingDate;
    }

    public void setShedingDate(Date shedingDate) {
        this.shedingDate = shedingDate;
    }

    public Date getChaijieDate() {
        return chaijieDate;
    }

    public void setChaijieDate(Date chaijieDate) {
        this.chaijieDate = chaijieDate;
    }

    public String getDoremark() {
        return doremark;
    }

    public void setDoremark(String doremark) {
        this.doremark = doremark;
    }

    public String getDouser() {
        return douser;
    }

    public void setDouser(String douser) {
        this.douser = douser;
    }

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date productdate;

    public Date getProductdate() {
        return productdate;
    }

    public void setProductdate(Date productdate) {
        this.productdate = productdate;
    }

    public List<FactoryProduceSaleAll> getColumnsGoodsSaleFactory() {
        return columnsGoodsSaleFactory;
    }

    public void setColumnsGoodsSaleFactory(List<FactoryProduceSaleAll> columnsGoodsSaleFactory) {
        this.columnsGoodsSaleFactory = columnsGoodsSaleFactory;
    }

    public List<GoodsOrderIn> getColumnsOther() {
        return columnsOther;
    }

    public void setColumnsOther(List<GoodsOrderIn> columnsOther) {
        this.columnsOther = columnsOther;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getXunjianFile() {
        return xunjianFile;
    }

    public void setXunjianFile(String xunjianFile) {
        this.xunjianFile = xunjianFile;
    }

    public String getIssheding() {
        return issheding;
    }

    public void setIssheding(String issheding) {
        this.issheding = issheding;
    }

    public String getIschaijie() {
        return ischaijie;
    }

    public void setIschaijie(String ischaijie) {
        this.ischaijie = ischaijie;
    }

    public String getGongyiId() {
        return gongyiId;
    }

    public void setGongyiId(String gongyiId) {
        this.gongyiId = gongyiId;
    }

    public String getGongyiName() {
        return gongyiName;
    }

    public void setGongyiName(String gongyiName) {
        this.gongyiName = gongyiName;
    }

    public String getGongyiCode() {
        return gongyiCode;
    }

    public void setGongyiCode(String gongyiCode) {
        this.gongyiCode = gongyiCode;
    }

    public String getGongyiFile() {
        return gongyiFile;
    }

    public void setGongyiFile(String gongyiFile) {
        this.gongyiFile = gongyiFile;
    }

    public String getGongyiPhoto() {
        return gongyiPhoto;
    }

    public void setGongyiPhoto(String gongyiPhoto) {
        this.gongyiPhoto = gongyiPhoto;
    }

    public String getGongyiShuoming() {
        return gongyiShuoming;
    }

    public void setGongyiShuoming(String gongyiShuoming) {
        this.gongyiShuoming = gongyiShuoming;
    }

    public BigDecimal getRukuCount() {
        return rukuCount;
    }

    public void setRukuCount(BigDecimal rukuCount) {
        this.rukuCount = rukuCount;
    }

    public BigDecimal getWeiruCount() {
        return weiruCount;
    }

    public void setWeiruCount(BigDecimal weiruCount) {
        this.weiruCount = weiruCount;
    }

    public BigDecimal getFinishdoCount() {
        return finishdoCount;
    }

    public void setFinishdoCount(BigDecimal finishdoCount) {
        this.finishdoCount = finishdoCount;
    }

    public BigDecimal getKerukuCount() {
        return kerukuCount;
    }

    public void setKerukuCount(BigDecimal kerukuCount) {
        this.kerukuCount = kerukuCount;
    }

    public BigDecimal getDaizhijianCount() {
        return daizhijianCount;
    }

    public void setDaizhijianCount(BigDecimal daizhijianCount) {
        this.daizhijianCount = daizhijianCount;
    }

    public String getProduceNo() {
        return produceNo;
    }

    public void setProduceNo(String produceNo) {
        this.produceNo = produceNo;
    }

    public List<GoodsSaledo> getColumns() {
        return columns;
    }

    public void setColumns(List<GoodsSaledo> columns) {
        this.columns = columns;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
    }

    public String getQinggouId() {
        return qinggouId;
    }

    public void setQinggouId(String qinggouId) {
        this.qinggouId = qinggouId;
    }

    public String getNos() {
        return nos;
    }

    public void setNos(String nos) {
        this.nos = nos;
    }

    public Date getSaleDate() {
        return saleDate;
    }

    public void setSaleDate(Date saleDate) {
        this.saleDate = saleDate;
    }

    public String getGongchengName() {
        return gongchengName;
    }

    public void setGongchengName(String gongchengName) {
        this.gongchengName = gongchengName;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }
    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setProduceId(String produceId)
            {
            this.produceId = produceId;
            }

    public String getProduceId()
            {
            return produceId;
            }
    public void setSaleId(String saleId)
            {
            this.saleId = saleId;
            }

    public String getSaleId()
            {
            return saleId;
            }
    public void setCaigouId(String caigouId)
            {
            this.caigouId = caigouId;
            }

    public String getCaigouId()
            {
            return caigouId;
            }
    public void setCount(BigDecimal count)
            {
            this.count = count;
            }

    public BigDecimal getCount()
            {
            return count;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setXinghao(String xinghao)
            {
            this.xinghao = xinghao;
            }

    public String getXinghao()
            {
            return xinghao;
            }
    public void setMiaoshu(String miaoshu)
            {
            this.miaoshu = miaoshu;
            }

    public String getMiaoshu()
            {
            return miaoshu;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("status",getStatus())
            .append("remark",getRemark())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("delFlag",getDelFlag())
            .append("produceId",getProduceId())
            .append("saleId",getSaleId())
            .append("caigouId",getCaigouId())
            .append("count",getCount())
            .append("code",getCode())
            .append("name",getName())
            .append("xinghao",getXinghao())
            .append("miaoshu",getMiaoshu())
        .toString();
    }
}
